package com.maimao.model.order.input;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 修改订单评论状态
 * @author MaoLin Wang
 * @date 2021/1/28 11:29 上午
 */
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CommentStatusUpdateInput implements Serializable {

    private static final long serialVersionUID = 2494083126777679347L;
    @NotNull(message = "skuId为空")
    private Long skuId;

    @NotNull(message = "订单id为空")
    private Long orderId;

    private Integer status;


    @Override
    public String toString() {
        return "CommentStatusUpdateInput{" +
                "skuId=" + skuId +
                ", orderId=" + orderId +
                ", status=" + status +
                '}';
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }
}
